package com.zzyl.entity;

import com.zzyl.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "护理计划与项目联表实体类")
public class ProjectPlans extends BaseEntity {
    @ApiModelProperty(value = "计划id")
    private Long planId;
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    @ApiModelProperty(value = "执行周期")
    private Integer executeCycle;
    @ApiModelProperty(value = "执行频次")
    private Integer executeFrequency;
    @ApiModelProperty(value = "计划执行时间")
    @DateTimeFormat(pattern = "H:m")
    private LocalTime executeTime;
}
